﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;

namespace PhoneUI.Com
{
    public class GetOrderRqwpRequest : ILJTokenRequest<GetOrderRqwpResponse>
    {
        public string token { get; set; }
        /// <summary>
        /// 工组ID
        /// </summary>
        public int wrkGrpId { get; set; }
        /// <summary>
        /// 派工方式 0:不派到人 1:派工到人
        /// </summary>
        public int type { get; set; }

        public string GetApiName()
        {
            return "GetOrderRqwp";
        }
    }

    public class GetOrderRqwpResponse : LJResponse
    {
        public string[][] header { get; set; }
        /// <summary>
        /// 待生产
        /// </summary>
        public string[][] todo { get; set; }
        /// <summary>
        /// 待检
        /// </summary>
        public string[][] waitCheck { get; set; }
        /// <summary>
        /// 返工
        /// </summary>
        public string[][] redo { get; set; }
    }
}